import BasePath from "../config";
const coupon_comprehen_list = {
	path: `${BasePath}/group-data/coupon-comprehen-list`,
	name: 'coupon-comprehen-list',
	component: () => import('@/views/home/group-data/coupon-data/card-coupon/index.vue'),
	meta: {
		keepAlive: false
	}
}
const coupon_comprehen_detail = {
	path: `${BasePath}/group-data/coupon-comprehen-detail`,
	name: 'coupon-comprehen-detail',
	component: () => import('@/views/home/group-data/coupon-data/coupon-detail.vue'),
	meta: {
		keepAlive: false
	}
}
const coupon_list = {
	path: `${BasePath}/group-data/coupon-list`,
	name: 'coupon-list',
	component: () => import('@/views/home/group-data/coupon-data/data-list.vue'),
	meta: {
		keepAlive: false
	}
}

export default [
    {
		path: `${BasePath}/group-data/coupon-comprehen`,
		name: 'coupon-comprehen',
		component: () => import('@/views/home/group-data/coupon-data/data-index.vue'),
		meta: {
			keepAlive: false
		},
		children: [
			coupon_comprehen_list,
			coupon_comprehen_detail
		]
	},
    {
		path: `${BasePath}/group-data/coupon-detail`,
		name: 'coupon-detail',
		component: () => import('@/views/home/group-data/coupon-data/coupon-detail.vue'),
		meta: {
			keepAlive: false
		}
	},
    {
		path: `${BasePath}/group-data/coupon-index`,
		name: 'coupon',
		component: () => import('@/views/home/group-data/coupon-data/index.vue'),
		meta: {
			keepAlive: false
		},
		children: [
			coupon_list
		]
	}
]